import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { LoginComponent } from './login/login.component';

import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { IconDefinition } from '@ant-design/icons-angular';
import { NzInputModule } from 'ng-zorro-antd/input';
import {
  AccountBookFill,
  AlertFill,
  AlertOutline,
  EyeOutline,
  EyeInvisibleOutline,
  BorderOutline,
} from '@ant-design/icons-angular/icons';
const icons = [EyeOutline, EyeInvisibleOutline];
import { NzMessageModule } from 'ng-zorro-antd/message';
@NgModule({
  declarations: [AppComponent, LoginComponent],
  imports: [
    BrowserModule,
    FormsModule,
    HttpClientModule,
    BrowserAnimationsModule,
    AppRoutingModule,

    /** 导入 ng-zorro-antd-mobile 模块 **/
    NzButtonModule,
    NzInputModule,
    NzIconModule.forRoot(icons),
    NzMessageModule,
  ],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}
